package com.znsd.zl.statisticshouse.dao;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.znsd.zl.statisticshouse.entity.HouseRentEntity;
import com.znsd.zl.statisticshouse.entity.vo.RentVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName HouseRentDao
 * @Description 房源统计dao层
 * @author xyx
 * @date 2020-08-24 10:53:55
 * @Version v1.0
 */
@Component
@Mapper
public interface HouseRentDao extends BaseMapper<HouseRentEntity> {

	/**
	 * 查询房源统计
	 * @param vo
	 * @return List<RentVo>
	 */
	List<RentVo> statisticsFindAll(RentVo vo);

	/**
	 * 查询房源总数
	 * @return Integer
	 */
	Integer count();
}
